# Contributor: Antoine Martin (ayakael) <dev@ayakael.net>
# Maintainer: Antoine Martin (ayakael) <dev@ayakael.net>
pkgname=py3-dumb-init
_pyname=dumb-init
pkgver=1.2.5
_pkgver=1.2.5.post1
pkgrel=1
arch="all"
pkgdesc="Simple wrapper script which proxies signals to a child"
url="https://pypi.python.org/project/dumb-init"
license="MIT"
makedepends="
	py3-setuptools
	py3-gpep517
	py3-wheel
	"
options="!check" # No testsuite
source="$pkgname-$_pkgver.tar.gz::https://pypi.io/packages/source/d/dumb-init/dumb-init-$_pkgver.tar.gz"
builddir="$srcdir"/$_pyname-$_pkgver

build() {
	gpep517 build-wheel \
		--wheel-dir .dist \
		--output-fd 3 3>&1 >&2
}

package() {
	python3 -m installer -d "$pkgdir" \
		.dist/*.whl
}

sha512sums="
8527ac64a4219d0bde3612b8153056b44203656aed86b1bd047b4649ee3f7e04e0c0a669841fc2f176875993d61d8d80c980a410bcd92bb8ddc9577b6980fa42  py3-dumb-init-1.2.5.post1.tar.gz
"
